<template>
    <div class="myCard">
       <img :src="itemObj.pic" alt="">
       <h5>{{itemObj.name}}</h5>
       <p>{{itemObj.characteristic}}</p>
       <section>
         <span style="color:red">￥{{itemObj.minPrice}}</span>
       </section>
    </div>
</template>
<script>
export default {
  props:{
    itemObj: Object
  }
}
</script>
<style lang="scss" scoped>
.myCard{
  width: 49%;
  font-size: 12px;
  margin-bottom: 10px;
  img{
    width: 100%;
    height: 224px;
    border-radius: 5px;
  }
  h5{
    font-size: 14px;
  }
  p{
    color: #ccc;
    margin: 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
</style>

